#ifndef _GfxEffects_h_
#define _GfxEffects_h_

#include "SDL.h"

/** @file	GfxEffects.h
	 @author Julien CLEMENT
	 @brief  Functions for doing special effects
				on the graphical display
*/

/** Flash:
   @param r,g,b		Color of the flash
   @param msclear	Time slice when the screen has no flash (ms)
   @param msflash	Time slice when the screen has a flash (ms)
   @param repeat	Number of flashes
*/
void flash (int r, int g, int b, Uint32 msclear, Uint32 msflash, int repeat);
void flash (int r, int g, int b, Uint32 ms, int repeat);
void flash (int r, int g, int b, Uint32 msflash);

// Try them and see what happens !
// For surface faders, no check of the size
// will be performed.
void faderZoneOut    (void);
void faderZoneIn     (void);
void faderZoneIn     (SDL_Surface *surface1024x768);
void faderHBreak     (void);
void faderHBreak     (SDL_Surface *surface1024x768);
void faderChessBoard (void);
void faderChessBoard (SDL_Surface *surface1024x768);

#endif

